libxl, minios: stubdom console based save/restore
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Jan 2011 18:06:23 +0000 (18:06 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 21 Jan 2011 18:06:23 +0000 (18:06 +0000)
commit648429dc4066e47d190484921845871000be217d
tree24d5fa8792ffe67913d11aaa59be1a53740ffbc6
parente6859a733df7c723b211e447c6f3f3fccace6f8d
libxl, minios: stubdom console based save/restore

Add two "special" PV consoles to stubdoms that are going to be used
to send and receive the qemu-xen save files on save/restore.

Use the second PV console to send the qemu-xen save file and the third
PV console to receive the qemu-xen save file on restore.

Fix the console shutdown function free_consfront that is called when the
qemu save file is closed.

Stubdom save/restore is still broken with xend.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
extras/mini-os/console/xencons_ring.c
extras/mini-os/include/lib.h
extras/mini-os/lib/sys.c
tools/libxl/libxl.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h